package com.zking.ssm.service;

import com.zking.ssm.model.HotelsSystem;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface IHotelsSystemService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelsSystem record);

    int insertSelective(HotelsSystem record);

    @Transactional(readOnly = true)
    HotelsSystem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelsSystem record);

    int updateByPrimaryKeyWithBLOBs(HotelsSystem record);

    int updateByPrimaryKey(HotelsSystem record);

    @Transactional(readOnly = true)
    List<HotelsSystem> selectAll(HotelsSystem hotelsSystem, PageBean pageBean);
}